package com.wframe.project.former.dataservices.integral;


import com.frame.database.JBaseService;
import com.frame.database.JServiceFactory;
import com.frame.database.JdataBean;
import com.frame.database.PageResult;
import com.wframe.framework.database.BaseDao;
import com.wframe.project.former.dataservices.information.SkeywordService;
import com.wframe.project.former.dataservices.information.dao.SkeywordDao;
import com.wframe.project.former.dataservices.order.OrderService;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class IntegralService extends JBaseService<IntegralDao> {

    public static IntegralService getIntance(){
        return JServiceFactory.createJServiceProxy(IntegralService.class);
    }

    public PageResult queryIntegral(JdataBean parms, int size, int pageno) throws Exception{
        return getDao().queryIntegraList(parms,size,pageno);

    }



    public PageResult getCompanyedByUid(String userid,int size,int pageno) throws Exception{

        return getDao().getCompanyedByUid(userid,size,pageno);
    }

    public JdataBean findIntegralId(String id) throws Exception{
        return getDao().findIntegralId(id);
    }

}
